﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.IO;

namespace NugetPublishWizard
{
    static class Program
    {
        /// <summary>
        /// Der Haupteinstiegspunkt für die Anwendung.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (args.Length >= 2 && File.Exists(args[0]) && !string.IsNullOrEmpty(args[1]))
                Application.Run(new MainForm(args[0], args[1]));
            else
                Application.Run(new MainForm());
        }
    }
}
